<template>
    <div class="page_box">
        child2
    </div>
</template>
<script setup>
import { ref, provide, inject, reactive } from 'vue';

defineExpose({
    foo: 'foo',
    bar: 'bar',
    exportFun: () => {
        console.log("exportFun");
    }
});

</script>